class Student {

    public String name;
    public String sex;
    public int age;
    public double score;

    public void doClass() {
        System.out.println(name + "去上课");
    }

    public void doHomework() {
        System.out.println(name + "写作业");
    }

    public void doText() {
        System.out.println(name + "考试成绩" + score);
    }

}
